﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Directora.Master" AutoEventWireup="true" CodeBehind="TareasPendientes.aspx.cs" Inherits="Interfaces.Tareas.TareasPendientes" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style6
        {
            width: 100%;
        }
        .style7
        {
            width: 67px;
        }
        .style8
        {
            width: 734px;
            text-align: left;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
 </asp:ScriptManagerProxy>
    <asp:Panel ID="Panel1" runat="server" GroupingText="Tareas Pendientes">                    
    <table class="style6">
        <tr>
            <td class="style7">
                &nbsp;</td>
            <td class="style8">
                Tareas sin relacion a programas</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style7">
                &nbsp;</td>
            <td class="style8">
            <asp:DataList ID="DataList1" runat="server" 
                onitemcommand="DataList1_ItemCommand" style="text-align: left" 
                onselectedindexchanged="DataList1_SelectedIndexChanged1">
                <HeaderTemplate>
                    <tr style="color: #000000">
                        <td style='border:2px solid #123456;' bgcolor="#3a67b1">
                            <asp:Label ID="Label13" runat="server" Text="ID"></asp:Label>
                        </td>
                        <td style='border:2px solid #123456;' bgcolor="#3a67b1">
                            <asp:Label ID="Label9" runat="server" Text="Nombre"></asp:Label>
                        </td>
                        <td style='border:2px solid #123456;' bgcolor="#3a67b1">
                            <asp:Label ID="Label10" runat="server" Text="FechaInicio"></asp:Label>
                        </td>
                        <td style='border:2px solid #123456;' bgcolor="#3a67b1">
                            <asp:Label ID="Label11" runat="server" Text="FechaFin"></asp:Label>
                        </td> 
                        <td style='border:2px solid #123456;' bgcolor="#3a67b1">
                            <asp:Label ID="Label12" runat="server" Text="Estado"></asp:Label>
                        </td>                                                           
                    </tr>                  
                </HeaderTemplate>
                <ItemTemplate>
                    <tr  style="color: #000000">
                     <td style='border:2px solid #123456;'>
                                  <asp:Label ID="ID" runat="server" Text='<%# Eval("ID") %>'></asp:Label>
                           </td>
                        <td style='border:2px solid #123456;'>
                                  <asp:Label ID="Nombre" runat="server" Text='<%# Eval("Nombre") %>'></asp:Label>
                           </td>
                                <td style='border:2px solid #123456;'>
                                    <asp:Label ID="FechaInicio" runat="server" Text='<%# Eval("FechaInicio") %>'></asp:Label>
                                </td>
                                <td style='border:2px solid #123456;'>
                                    <asp:Label ID="FechaFin" runat="server" Text='<%# Eval("FechaFin") %>'></asp:Label>
                                </td >
                                <td style='border:2px solid #123456;'>
                                    <asp:Label ID="Estado" runat="server" Text='<%# Eval("EstadoTexto") %>'></asp:Label>
                                </td>                                                      
                                 <td style='border:2px solid #123456;'>
                                    <asp:LinkButton ID="Ver" runat="server" CommandName="Ver" 
                                        Visible='<%#  (true)  %>' 
                                        onclick="Ver_Click">Ver Tarea</asp:LinkButton>                                    
                                </td>                                                         
                    </tr>                    
                </ItemTemplate>
            </asp:DataList>                            
                            </td>                          
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style7">
                &nbsp;</td>
            <td class="style8">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style7">
                &nbsp;</td>
            <td class="style8">
                Tareas relacionadas a un programa</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style7">
                &nbsp;</td>
            <td class="style8">
            <asp:DataList ID="DataList2" runat="server" 
                onitemcommand="DataList2_ItemCommand" style="text-align: left" 
                onselectedindexchanged="DataList2_SelectedIndexChanged1">
                <HeaderTemplate>
                    <tr style="color: #000000">
                        <td style='border:2px solid #123456;' bgcolor="#3a67b1">
                            <asp:Label ID="Label13" runat="server" Text="ID"></asp:Label>
                        </td>
                        <td style='border:2px solid #123456;' bgcolor="#3a67b1">
                            <asp:Label ID="Label9" runat="server" Text="Nombre"></asp:Label>
                        </td>
                        <td style='border:2px solid #123456;' bgcolor="#3a67b1">
                            <asp:Label ID="Label10" runat="server" Text="FechaInicio"></asp:Label>
                        </td>
                        <td style='border:2px solid #123456;' bgcolor="#3a67b1">
                            <asp:Label ID="Label11" runat="server" Text="FechaFin"></asp:Label>
                        </td> 
                        <td style='border:2px solid #123456;' bgcolor="#3a67b1">
                            <asp:Label ID="Label12" runat="server" Text="Estado"></asp:Label>
                        </td>                                                           
                    </tr>                  
                </HeaderTemplate>
                <ItemTemplate>
                    <tr  style="color: #000000">
                     <td style='border:2px solid #123456;'>
                                  <asp:Label ID="ID" runat="server" Text='<%# Eval("ID") %>'></asp:Label>
                           </td>
                        <td style='border:2px solid #123456;'>
                                  <asp:Label ID="Nombre" runat="server" Text='<%# Eval("Nombre") %>'></asp:Label>
                           </td>
                                <td style='border:2px solid #123456;'>
                                    <asp:Label ID="FechaInicio" runat="server" Text='<%# Eval("FechaInicio") %>'></asp:Label>
                                </td>
                                <td style='border:2px solid #123456;'>
                                    <asp:Label ID="FechaFin" runat="server" Text='<%# Eval("FechaFin") %>'></asp:Label>
                                </td >
                                <td style='border:2px solid #123456;'>
                                    <asp:Label ID="Estado" runat="server" Text='<%# Eval("EstadoTexto") %>'></asp:Label>
                                </td>                                                      
                                 <td style='border:2px solid #123456;'>
                                    <asp:LinkButton ID="Ver2" runat="server" CommandName="Ver" 
                                        Visible='<%#  (true)  %>' 
                                        onclick="Ver2_Click">Ver Tarea</asp:LinkButton>                                    
                                </td>                                                         
                    </tr>                    
                </ItemTemplate>
            </asp:DataList>
                </td>                                           
            
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </asp:Panel>
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
